package org.ekstrabilet.admin;

public class Row {
	
	private String login;
	private String name;
	private String surname;
	private String type;
	
	public Row() {
		this(null, null, null, null);
	}
	
	public Row(String login, String name, String surname, String type) {
		
		this.login = login;
		this.name = name;
		this.surname = surname;
		this.type = type;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public Object[] getObject() {
		return new Object[] {0, login, name, surname, type};
	}
}
